package cn.kcrxorg.areacashcenter;

import android.os.Bundle;
import android.util.Log;

import com.xuexiang.xpage.base.XPageActivity;
import com.xuexiang.xpage.core.PageOption;
import com.xuexiang.xui.XUI;

import java.io.Serializable;
import java.util.List;

import cn.kcrxorg.areacashcenter.data.model.CashBoxError;
import cn.kcrxorg.areacashcenter.fragment.CashBoxErrorFragment;
import cn.kcrxorg.areacashcenter.fragment.NewSettingFragment;

public  class CashBoxErrorActivity extends XPageActivity {

    List<CashBoxError> cashBoxErrorList;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        XUI.initTheme(this);
        cashBoxErrorList= (List<CashBoxError>) getIntent().getSerializableExtra("cashBoxErrorList");

        PageOption.to(CashBoxErrorFragment.class)
                .setNewActivity(false)
                .putSerializable("cashBoxErrorList", (Serializable) cashBoxErrorList)
                .open(this);
    }
}
